﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using System.Data.OleDb;

namespace SmartLibraries.DataAccessLayer
{
    internal class SmartOledbClasses :  SmartBaseDal<OleDbConnection,OleDbCommand,OleDbException,OleDbParameter,OleDbDataAdapter>
    {

		internal SmartOledbClasses(CommandType objCommandType,
			ISmartQuery objQuery)
			: base(objCommandType, objQuery)
		{
		}


		protected override void FunPriRaiseError(OleDbException objException)
		{
			throw new ClsDatabaseException
		        (objException.ErrorCode, -1,-1,"Unknown",-1, objException.Message);
		}
		protected override OleDbParameter FunPriAddReturnParameter(OleDbCommand objCommand)
		{
			return null;
		}
    
    }
}
